//
//  ReferPictureCell.m
//  MMLOOK
//
//  Created by dllo on 15/8/27.
//  Copyright (c) 2015年 武俊娥. All rights reserved.
//

#import "ReferPictureCell.h"

@implementation ReferPictureCell

- (void)dealloc
{
    [_piclable release];
    [_showImageView release];
    [super dealloc];
    
}

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        
        [self creatSubView];
    }
    return self;
}

- (void)creatSubView
{
    self.showImageView = [[[UIImageView alloc] initWithFrame:CGRectMake(0, 0, self.contentView.frame.size.width*OffWidth, 400 * OffHeight)] autorelease];
    _showImageView.backgroundColor = [UIColor grayColor];
    _showImageView.layer.cornerRadius = 15;
    [self.contentView addSubview:_showImageView];
    
    self.piclable = [[[UILabel alloc] initWithFrame:CGRectMake(20 * OffWidth, 400 * OffHeight, self.contentView.frame.size.width - 40, 80 * OffHeight)] autorelease];
    //_piclable.backgroundColor = [UIColor grayColor];
    _piclable.textColor = [UIColor whiteColor];
    _piclable.numberOfLines = 0;
    _piclable.font = [UIFont systemFontOfSize:18 * OffHeight];
    [self.contentView addSubview:_piclable];
}

@end
